package com.clock.common.enums.shop;

/**
 * 订单状态枚举类
 * @author CYJ
 */

public enum OrderStatus {
    UNUSED("0","未开始"),GOING("1","进行中"),FINISHED("2","已完成");

    private final String code;
    private final String info;

    OrderStatus(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode(){
        return this.code;
    }
    public String getInfo()
    {
        return this.info;
    }
}
